package cn.jzq.kotoba.modules.principle.demeter.good;

class Teacher {
    //只需要耦合体育委员 而无需知道students类,降低了Teacher类和Student类的耦合
    public void command(StudentLeader StudentLeader) {
        System.out.println("老师接到命令，委托体育委员清点人数......");
        StudentLeader.counts();

    }

}